<div class="SubMainTitle">
	<b class="FT14">即時通设置 </b>
</div>
<br /><br />
<div class="Mylist">
<form id="setUserIm" name="setUserIm" method="post" action="act.php">
<table width="90%" border="0" align="center" cellpadding="5" cellspacing="0">
    <tr>
      <td width="15%" class="b">MSN：</td>
      <td width="85%"><input name="msn" value="<?=$rs["msn"]?>" type="text" dataType="email" msg="请输入正确有msn帐号!" size="32" id="msn"/></td>
    </tr>
    <tr>
      <td class="b">Yahoo通：</td>
      <td><input name="yahoo" type="text"  value="<?=$rs["yahoo"]?>"  size="32" msg="请输入正确有Yahoo通帐号!" id="yahoo"/></td>
    </tr>
    <tr>
      <td class="b">Skype：</td>
      <td><input name="skype" type="text"  value="<?=$rs["skype"]?>" size="32" dataType="alphanum"  msg="请输入正确有Skype帐号!"  id="skype"/>   
        
      </td>
    </tr>
    <tr>
      <td class="b">腾讯QQ：</td>
      <td><input name="qq" type="text" value="<?=$rs["qq"]?>" size="10" dataType="nums" minlen="5" msg="请输入正确有腾讯QQ通帐号!"  maxlen="10" id="qq"/></td>
    </tr>
    
    <tr>
      <td class="b">效果预览：</td>
      <td id="im_show">&nbsp;</td>
    </tr>
    <tr>
      <td colspan="2" class="b">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <input type="submit" class="submitMini" value="我塡好啦，提交出去">
        <input type="hidden" name="Pact" value="setUserIm" />
        &nbsp;&nbsp;   
        <input type="reset" class="submitMini"></td>
    </tr>
</table>
</form>
</div>
<script type="text/javascript">
$("input.submitMini").mouseover(function(){this.className='submitMiniOver'}).mouseout(function(){this.className='submitMini'});
var Form = _.e('setUserIm');
var fImShow = function()
{
	var t,o ={};
	t = Form.msn.value.trim();if(t)o.msn = t;
	t = Form.yahoo.value.trim();if(t)o.yahoo = t;
	t = Form.skype.value.trim();if(t)o.skype = t;
	t = Form.qq.value.trim();if(t)o.qq = t;
	_.e("im_show").innerHTML = IM(o).join(' ');
};
var fSubmitSetUserIm = function(o)
{
	var t;
	t = Form.msn;if(t.value.trim())t.setAttribute('require',1);
	t = Form.yahoo;if(t.value.trim())t.setAttribute('require',1);
	t = Form.qq;if(t.value.trim())t.setAttribute('require',1);
	t = Form.skype;if(t.value.trim())t.setAttribute('require',1);
	return XypForm(o);
}
document.title = $("b.FT14","div.SubMainTitle").html().trim()+"_"+document.title;
$("input[type='text']",Form).change(fImShow);
$(Form).submit(function(){return fSubmitSetUserIm(this);});
fImShow();
if(typeof XypForm == "undefined")
{
	include.js(__scfg__.staticUrl+"xypfrom/xypfrom.js");
	include.css(__scfg__.staticUrl+"xypfrom/xypfrom.css");
}
</script>